package DataManager;

public class OrderInfo {
	   private int mId;
	   private int mCount;
	   private String mName;
       public OrderInfo(int id, String name){
    	   mId = id;
    	   mName = name;
    	   mCount = 0;
       }
       
	   public int getCout(){
		   return mCount;
	   }
	   
	   public String getName(){
		   return mName;
	   }
	   
	   public int getId(){
		   return mId;
	   }
	   public void addCount(){
		   mCount++;
	   }
	   
	   public void deleteOne(){
		   mCount = (mCount > 1 ? mCount--:0);
	   }
}
